/**
 * @name v-input-focus 输入框聚焦
 */

export default {
  updated: (el, bing) => {
    const input = el.tagName === 'INPUT' ? el : el.querySelector('input')
    bing.value && input?.focus()
  }
}
